class CreateHotels < ActiveRecord::Migration
  def change
    create_table :hotels do |t|
      t.integer :property_type_id
      t.integer :province_id
      t.integer :district_id
      t.integer :country_id
      t.integer :area_id
      t.string :hotel_name
      t.string :address
      t.string :postal_code
      t.text :description_idn
      t.text :description_eng
      t.integer :hotel_rooms
      t.time :check_in_time
      t.time :check_out_time
      t.integer :stars
      t.string :primary_picture
      t.boolean :is_published
      t.boolean :is_on_promoted
      t.boolean :is_recomended

      t.timestamps
    end
  end
end
